﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;


namespace BCGM.MedicalWisdom.Model.Models
{
    ///<summary>
    ///医生表
    ///</summary>
    [SugarTable( "Doctor", "WMBLOG_MYSQL")]
    public class Doctor
    {
           public Doctor()
           {
           }
           /// <summary>
           /// Desc:主键id
           /// Default:
           /// Nullable:False
           /// </summary>
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int Id { get; set; }
           /// <summary>
           /// Desc:用户id
           /// Default:
           /// Nullable:False
           /// </summary>
           public string UserId { get; set; }
           /// <summary>
           /// Desc:医生姓名
           /// Default:
           /// Nullable:False
           /// </summary>
           public string Name { get; set; }
           /// <summary>
           /// Desc:隶属医院
           /// Default:
           /// Nullable:False
           /// </summary>
           public string Hospital { get; set; }
           /// <summary>
           /// Desc:手机号
           /// Default:
           /// Nullable:False
           /// </summary>
           public string Phone { get; set; }
           /// <summary>
           /// Desc:密码
           /// Default:
           /// Nullable:False
           /// </summary>
           public string Password { get; set; }
           /// <summary>
           /// Desc:身份证
           /// Default:
           /// Nullable:False
           /// </summary>
           public string IdentityCard { get; set; }
           /// <summary>
           /// Desc:医师资格证书
           /// Default:
           /// Nullable:False
           /// </summary>
           public string QualificationCard { get; set; }
           /// <summary>
           /// Desc:头像
           /// Default:
           /// Nullable:False
           /// </summary>
           public string Photo { get; set; }
           /// <summary>
           /// Desc:医师执业证书
           /// Default:
           /// Nullable:False
           /// </summary>
           public string occupationCard { get; set; }
           /// <summary>
           /// Desc:问诊时间
           /// Default:
           /// Nullable:True
           /// </summary>
           public DateTime? ConsultationTime { get; set; }
           /// <summary>
           /// Desc:问诊费用
           /// Default:
           /// Nullable:True
           /// </summary>
           public decimal? InquiryMoney { get; set; }
           /// <summary>
           /// Desc:年限
           /// Default:
           /// Nullable:True
           /// </summary>
           public int? AgeLimit { get; set; }
           /// <summary>
           /// Desc:是否删除
           /// Default:
           /// Nullable:False
           /// </summary>
           public int Isdel { get; set; }
    }
}